using System;
using System.Collections.Generic;
using System.Text;

namespace IGlobalist.Cms.Model
{
    [Serializable]
    public class FAQ: CmsObject, IFAQ
    {
        public string Question
        {
            get
            {
                return (string)GetExtPropertyValue("Question");
            }
            set
            {
                SetExtPropertyValue("Question", value);
            }
        }

        public string Answer
        {
            get
            {
                return (string)GetExtPropertyValue("Answer");
            }
            set
            {
                SetExtPropertyValue("Answer", value);
            }
        }

        public string UserName
        {
            get
            {
                return (string)(GetExtPropertyValue("UserName"));
            }
            set
            {
                SetExtPropertyValue("UserName", value);

            }
        }
        public string Email
        {
            get
            {
                return (string)(GetExtPropertyValue("Email"));
            }
            set
            {
                SetExtPropertyValue("Email", value);

            }
        }
        public string Address
        {
            get
            {
                return (string)(GetExtPropertyValue("Address"));
            }
            set
            {
                SetExtPropertyValue("Address", value);

            }
        }
        public bool Show
        {
            get
            {
                return Convert.ToBoolean(GetExtPropertyValue("Show"));
            }
            set
            {
                SetExtPropertyValue("Show", value);
            }
        }
    }
}
